<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>套餐信息</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <link rel="stylesheet" type="text/css" href="css/findRoomStylePrice.css">

    <link  type="text/css" rel="stylesheet" href="css/smartmenu2.css" >
    <script type="text/javascript" src="<%=basePath%>/jslib/index/jquery-1.3.2.min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/index/smartmenu-min.js"></script>
    <script type="text/javascript" src="<%=basePath%>/jslib/Menu.js"></script>
</head>
<body style="text-align: center;">
<%@ include file="/page/share/menu.jsp" %>
<form method="post" action="Meal!findRoomStylePrice.action">
    <table align="center" border="1" cellspacing="0">
        <thead align="center">
        <tr>
            <td>
            房间类型：
            </td>
            <td>
                <select name="roomStyle">
                <option value="">--请选择--</option>
                <option value="情侣房">情侣房</option>
                <option value="标准房">标准房</option>
                <option value="中房">中房</option>
                <option value="大房">大房</option>
                <option value="VIP房">VIP房</option>
                </select>
                <input type="submit" name="suer" size="15" value="确认" class="btn"/>
                <input type="reset" name="re" size="15" value="重设" class="btn"/>
            </td>
        </tr>
        </thead>

    </table>
</form>
<form method="post" id="show">
    <table align="center" border="1" cellspacing="0">
        <s:property value="roomStyle"/>
        <thead align="center">
        <tr>
            <td>
                序号
            </td>
            <td>
                套餐名称
            </td>
            <td>
                节假日
            </td>
            <td>
                套餐使用开始时间
            </td>
            <td>
                套餐使用结束时间
            </td>
            <td>
                房价
            </td>
        </tr>
        </thead>
        <tr>
            <s:iterator value="meals" var="m" status="n">
        <tr>
            <td>
                <s:property value="#n.index+1"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.mealName"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.holiday"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.beginTime"/>
                &nbsp;
            </td>
            <td>
                <s:property value="#m.endTime"/>
                &nbsp;
            </td>
            <td>
                    <%--${m.}--%>
                &nbsp;
            </td>
        </tr>
        </s:iterator>
    </table>
</form>
<div id="bottom"></div>
</body>
</html>
